package task07;

import java.util.Scanner;

public class Test2 {
    public static void main(String[] args) {
        System.out.println("请输入你的成绩：");
        Scanner scanner=new Scanner(System.in);
        int num=scanner.nextInt();
        if (num<=100&num>=90){
            System.out.println("优秀");
        }else if(num<=90&num>=80){
            System.out.println("良好");
        }else if(num<=80&num>=70){
            System.out.println("中等");
        }else if(num<=70&num>=60){
            System.out.println("及格");
        }else if(num<60){
            System.out.println("不及格");
        }
    }
}
